
package com.weiyuwqj.api.service;

import com.weiyuwqj.api.model.BusItemRepay;
import com.weiyuwqj.api.model.vo.PrepaymentVo;
import com.weiyuwqj.api.common.PageList;
import com.weiyuwqj.api.common.Paginator;
import com.weiyuwqj.api.model.vo.BusItemRepayVo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by yxw on 2015/12/28.
 */
public interface BusInvestRepayService {
    PageList getList(Paginator p, Map<String, Object> param);

    //统计后台不分页列表
    List<BusItemRepayVo> getList(Map<String, Object> param);

    List getRepayList(Map map);

    Map statRepay(Map<String, Object> map);

    Map statNoRepay(Map<String, Object> map);

//    //借款人还款
//    Map borrowerRepay(Integer itemId, Integer currentPeriod);
//
//    //标的账户还款
//    Map itemRepay(Integer itemId, Integer currentPeriod);
//

    //对账管理列表统计
    Map checkAccountStat(Map map);

    //根据itemId获取还款计划
    List<BusItemRepay> getRepayListByItemId(Integer itemId);

    //根据itemId统计还款计划
    Map statRepayByItemId(Integer itemId);
}
